/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * VenCambiarClave.java
 *
 * Created on May 18, 2010, 1:38:06 PM
 */

package View;

import java.awt.Image;
import java.awt.Toolkit;

/**
 *
 * @author Scott
 */
public class VenCambiarClave extends javax.swing.JFrame {

    /** Creates new form VenCambiarClave */
    public VenCambiarClave() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel2 = new View.panelDefondo("fondo.jpg");
        jP_Superior = new View.panelDefondo("fondo3.png");
        jL_IntroClave = new javax.swing.JLabel();
        jL_Email = new javax.swing.JLabel();
        jT_IntroClave = new javax.swing.JTextField();
        jT_Email = new javax.swing.JTextField();
        jL_Newclave = new javax.swing.JLabel();
        jL_ReNewClave = new javax.swing.JLabel();
        jP_Newclave = new javax.swing.JPasswordField();
        jP_ReNewClave = new javax.swing.JPasswordField();
        jB_Aceptar = new javax.swing.JButton();
        jButton_Cancelar = new javax.swing.JButton();
        jB_Atras = new javax.swing.JButton();

        setIconImage(getIconImage());

        jPanel2.setBackground(new java.awt.Color(204, 204, 204));

        jP_Superior.setBackground(new java.awt.Color(102, 102, 102));

        javax.swing.GroupLayout jP_SuperiorLayout = new javax.swing.GroupLayout(jP_Superior);
        jP_Superior.setLayout(jP_SuperiorLayout);
        jP_SuperiorLayout.setHorizontalGroup(
            jP_SuperiorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 426, Short.MAX_VALUE)
        );
        jP_SuperiorLayout.setVerticalGroup(
            jP_SuperiorLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 104, Short.MAX_VALUE)
        );

        jL_IntroClave.setFont(new java.awt.Font("Vani", 1, 12));
        jL_IntroClave.setForeground(new java.awt.Color(255, 255, 255));
        jL_IntroClave.setText("Introduzca Clave Actual:");

        jL_Email.setFont(new java.awt.Font("Vani", 1, 12));
        jL_Email.setForeground(new java.awt.Color(255, 255, 255));
        jL_Email.setText("Introtuzca Cedula:");

        jL_Newclave.setFont(new java.awt.Font("Vani", 1, 12));
        jL_Newclave.setForeground(new java.awt.Color(255, 255, 255));
        jL_Newclave.setText("Intruduzca Nueva Clave:");

        jL_ReNewClave.setFont(new java.awt.Font("Vani", 1, 12));
        jL_ReNewClave.setForeground(new java.awt.Color(255, 255, 255));
        jL_ReNewClave.setText("Repita la nueva clave:");

        jP_Newclave.setText("00000000000000000000000000000000000000000000000000000");

        jP_ReNewClave.setText("00000000000000000000000000000000000000000000000000000");

        jB_Aceptar.setText("Aceptar");

        jButton_Cancelar.setText("Cancelar");

        jB_Atras.setText("Atras");
        jB_Atras.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jB_AtrasActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jP_Superior, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addComponent(jL_IntroClave, javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jL_Email, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 177, Short.MAX_VALUE)
                    .addComponent(jL_Newclave, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 177, Short.MAX_VALUE)
                    .addComponent(jL_ReNewClave, javax.swing.GroupLayout.DEFAULT_SIZE, 177, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jT_IntroClave, javax.swing.GroupLayout.DEFAULT_SIZE, 213, Short.MAX_VALUE)
                    .addComponent(jP_Newclave, javax.swing.GroupLayout.DEFAULT_SIZE, 213, Short.MAX_VALUE)
                    .addComponent(jP_ReNewClave, javax.swing.GroupLayout.DEFAULT_SIZE, 213, Short.MAX_VALUE)
                    .addComponent(jT_Email, javax.swing.GroupLayout.DEFAULT_SIZE, 213, Short.MAX_VALUE))
                .addContainerGap())
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jB_Aceptar)
                .addGap(8, 8, 8)
                .addComponent(jButton_Cancelar)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jB_Atras, javax.swing.GroupLayout.DEFAULT_SIZE, 115, Short.MAX_VALUE)
                .addGap(155, 155, 155))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addComponent(jP_Superior, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel2Layout.createSequentialGroup()
                        .addComponent(jT_IntroClave, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(6, 6, 6)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jL_Email, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jT_Email, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel2Layout.createSequentialGroup()
                                .addComponent(jP_Newclave, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                                    .addComponent(jP_ReNewClave, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jL_ReNewClave, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                            .addComponent(jL_Newclave, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addComponent(jL_IntroClave, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jB_Aceptar)
                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jButton_Cancelar)
                        .addComponent(jB_Atras)))
                .addContainerGap(29, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jPanel2, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
        );

        java.awt.Dimension screenSize = java.awt.Toolkit.getDefaultToolkit().getScreenSize();
        setBounds((screenSize.width-434)/2, (screenSize.height-318)/2, 434, 318);
    }// </editor-fold>//GEN-END:initComponents

    private void jB_AtrasActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jB_AtrasActionPerformed
      this.dispose();
    }//GEN-LAST:event_jB_AtrasActionPerformed

    /**
    * @param args the command line arguments
    */
   @Override
    public Image getIconImage() {
        Image retValue = Toolkit.getDefaultToolkit().
                getImage(ClassLoader.getSystemResource("View/taxis [1600x1200].png"));


        return retValue;
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jB_Aceptar;
    private javax.swing.JButton jB_Atras;
    private javax.swing.JButton jButton_Cancelar;
    private javax.swing.JLabel jL_Email;
    private javax.swing.JLabel jL_IntroClave;
    private javax.swing.JLabel jL_Newclave;
    private javax.swing.JLabel jL_ReNewClave;
    private javax.swing.JPasswordField jP_Newclave;
    private javax.swing.JPasswordField jP_ReNewClave;
    private javax.swing.JPanel jP_Superior;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JTextField jT_Email;
    private javax.swing.JTextField jT_IntroClave;
    // End of variables declaration//GEN-END:variables

}
